//
//  Regex.h
//  TPS
//
//  Created by 左学良 on 16/5/18.
//  Copyright © 2016年 TPS. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Regex : NSObject

/**
 *  验证手机号码
 */
+ (BOOL)isValidatePhoneNumber:(NSString *)mobileNumber;

/**
 *  验证密码
 */
+ (BOOL)isValidatePassword:(NSString *)passwordStr;

/**< 验证邮箱 */
+ (BOOL)isValidateEmail:(NSString *)emailStr;

/**< 验证是否是浮点数 */
+ (BOOL)isValidateFloatPointNumber:(NSString *)number;

/**< 验证是否是整数 */
+ (BOOL)isValidateNumber:(NSString *)number;

+ (BOOL)regexTwoDecimalPlace:(NSString *)number;
+ (BOOL)regexTwelveInterAndTwoDecimalPlace:(NSString *)number;
+ (BOOL)regexTwoInterAndeTwoDecimalPlace:(NSString *)number;
@end
